import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/launch/getList',
    method: 'post',
    data: data
  })
}

export function deletePay(data) {
  return request({
    url: '/launch/delete',
    method: 'post',
    data: data
  })
}

//获取客户商品列表
export function getProducts() {
  return request({
    url: '/private_customer/getProductsList',
    method: 'get'
  })
}

//提交客户订单
export function custSubmit(data) {
  return request({
    url: '/private_customer/submitForm',
    method: 'post',
    data:data
  })
}

//删除客户订单
export function custDelete(data) {
  return request({
    url: '/private_customer/delete',
    method: 'post',
    data:data
  })
}

//客户订单详情
export function custDetail(query) {
  return request({
    url: '/private_customer/getDetail',
    method: 'get',
    params: query
  })
}

//客户订单列表
export function custList(data) {
  return request({
    url: '/private_customer/getList',
    method: 'post',
    data: data
  })
}